home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 2 / ETO Development Tools 2.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0196-C++ VMT implementat-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-27  |  1.1 KB  |  29 lines  |  [TEXT/GEOL]

  1. Item    2102585                         27-Oct-89        08:51
  2.  
  3. From:   UK0310                          Paul G Smith
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    C++ VMT implementation?
  8.  
  9. Not having my copy of C++ yet (APDA accepted my order and said they'd ship the
  10. goods on the 16th; this wek a postcard turned up instead saying merrily that
  11. they were out of stock and I'd have to wait - the ****s!)...
  12.  
  13. A few questions about the Apple implementation (which, no doubt, could be
  14. answered if I had the manuals - or some MPW C++ object code - to look at)
  15. spring to mind. Can anyone who has MPW C++ to hand answer them for me?
  16.  
  17. Object Pascal uses inverted VMTs (the subject of several messages on
  18. MacApp.Tech$ during the summer); 'official' C++ uses, to quote Stroustrup, "a
  19. direct table lookup method to optimize for speed".
  20.  
  21. How does this square with multi-lingual programming mixing C++ and OP? Do
  22. Pascal objects use OP VMTs and standard C++ objects use flat VMTs, thus mixing
  23. the two techniques? Or have Apple chosen to implement the same table lookup
  24. technique for all types of C++ object? If so, which technique?
  25.  
  26. Regards, Paul
  27.  
  28.  
  29.